<?php
require_once 'model/works.php';
if(isset($_GET["id"]))
{
    $md_works=new Works();
    $work=$md_works->deleteWorks($_GET["id"]);
    header("location:index.php");
}
?>